// 入口文件
import Vue from "vue"
//导入路由
import VueRouter from "vue-router"
import app from './App.vue'
Vue.use(VueRouter)

//导入vue-resource
import VueResource from "vue-resource"
Vue.use(VueResource)
//导入mui样式
import { Header,Swipe, SwipeItem } from 'mint-ui';
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
//导入mint文件
import './lib/mui/css/mui.min.css'
//导入mui字体图标样式文件
import "./lib/mui/css/icons-extra.css"


//导入自己的路由模块
import router from './router.js'

var vm = new Vue({
  el:"#app",
  render:c=>c(app),
  router
})
